package com.tianlan.blog.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tianlan.blog.dao.SysLogDao;
import com.tianlan.blog.dto.LogInfo;
import com.tianlan.blog.dto.QueryLog;
import com.tianlan.blog.service.SysLogService;
import com.tianlan.common.page.MyPage;

@Service
public class SysLogServiceImpl implements SysLogService {

	@Autowired
	private SysLogDao sysLogDao;
	
	@Override
	public List<Object[]> queryLogList(QueryLog log,MyPage<LogInfo> page) {
		return sysLogDao.queryLogList(log,page);
	}

	@Override
	public int queryLogCount(QueryLog log) {
		return sysLogDao.queryLogCount(log);
	}

}
